package com.hymall.service.admin;

import com.hymall.bean.MarketRole;
import com.hymall.bean.common.BasePageInfo;
import com.hymall.bean.common.CommonData;

/**
 * @author: 叶熠彬
 * @description:
 * @date: 2022/7/16 23:04
 */
public interface RoleService {
    CommonData queryRoleOption();

    CommonData queryRoleList(String name, BasePageInfo info);


    int addRole(MarketRole role);

    int updateRole(MarketRole role);

    int deleteRole(MarketRole role);
}
